package com.hr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hr.entity.AoaInMailList;

import java.util.Set;

/**
 * 邮箱消息
 */
public interface AoaInMailListMapper extends BaseMapper<AoaInMailList> {
    /**
     * 查詢當前用戶的內部郵箱
     */
    public Integer[] queryMailList(Long id);

    /**
     * 删除(放回收站)
     * @return
     */
    int del(Set<Integer> set);

    /**
     * 標記已讀
     */
    public Integer asterisk(Set set);
}
